<script lang="ts" setup>
import { useAdminRecycleAuthorizationStore } from "../store/adminRecycleAuthorization"

const { deleteDialog } = useAdminRecycleAuthorizationStore()
</script>

<template>
  <t-dialog
    v-model:visible="deleteDialog.visible"
    :confirm-btn="{ loading: deleteDialog.loading }"
    :on-confirm="deleteDialog.confirmDelete"
    body="删除后扔可在回收站中恢复，请确认是否要删除？"
    destroyOnClose
    header="警示"
    theme="warning"
  />
  <t-dialog
    v-model:visible="deleteDialog.groupVisible"
    :confirm-btn="{ loading: deleteDialog.groupLoading }"
    :on-confirm="deleteDialog.confirmDeleteGroup"
    body="删除后扔可在回收站中恢复，请确认是否要删除？"
    destroyOnClose
    header="警示"
    theme="warning"
  />
</template>

<style lang="less" scoped>

</style>
